-- GENERATED SPELL FOR [Blackpaw Scavenger] --


function spell0_16335(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16335', 20000, 1)
end

function Sorts_16335(pUnit, Event)
local choix_sorts_16335 = math.random(0, 0)
if choix_sorts_16335 == 0 then
pUnit:RegisterEvent('spell0_16335', 1, 1)
end
end

function mob16335_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16335', math.random(1500, 3000), 1)
end

function mob16335_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16335_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16335_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16335, 1, 'mob16335_Action')
RegisterUnitEvent(16335, 2, 'mob16335_Leave')
RegisterUnitEvent(16335, 3, 'mob16335_Kill')
RegisterUnitEvent(16335, 4, 'mob16335_Die')
